<?=$this->login?>  
<table width="90%" cellpadding="3" cellspacing="0" border="1">
   <tr>
      <td class="titulo">Data</td>
      <td class="titulo">Motorista</td>
      <td class="titulo">Veiculo</td>
      <td class="titulo">Status</td>
      <td class="titulo">Ações</td>
   </tr>
   <?foreach($this->dados AS $key => $os):?>
   <tr>
      <td><?=$os['data_os']?></td>
      <td><?=$os['cnpj_cpf']?></td>
      <td><?=$os['insc_munic']?></td>
      <td><?=$os['insc_munic']?></td>
      <td>
		<center>
			<a href="<?=$this->url(array("module"=>"admin","controller"=>"os","action"=>"show","id"=>"{$os['id_os']}"),null,true)?>">
         		<img src="imgs/icons/icon_preview.png" title="Visualizar" border="0" align="middle"/>
         	</a>
         	<a href="<?=$this->url(array("module"=>"admin","controller"=>"os","action"=>"edit","id"=>"{$os['id_os']}"),null,true)?>">
         		<img src="imgs/icons/icon_edit.png"  title="Editar" border="0" align="middle"/>
         	</a>
         	<a href="<?=$this->url(array("module"=>"admin","controller"=>"os","action"=>"destroy","id"=>"{$os['id_os']}"),null,true)?>">
         		<img src="imgs/icons/icon_delete.png"  title="Deletar" border="0" align="middle"/>
         	</a>
		</center>
      </td>
   </tr>
   <?endforeach;?>
</table>